import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.jsx";
import './index.scss'
import zhCN from 'antd/locale/zh_CN';
import 'dayjs/locale/zh-cn';
import { ConfigProvider } from 'antd'

// 全局注入store  redux toolkit
import { Provider } from 'react-redux'
import store from './store/index'

ReactDOM.createRoot(document.getElementById("root")).render(

  <ConfigProvider locale={zhCN}>
    <Provider store={store}>
      <App />
    </Provider>
  </ConfigProvider>
);